import {createStore} from 'vuex'

export const setupStore = (app) => {
   const store = createStore({
       state(){
           return {
               count:0
           }
       },
       mutations:{
           increment(state,count){
               state.count++
           }
       }
   })
    app.use(store);
}